package cn.iocoder.yudao.module.iot.controller.admin.deviceeventslog.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 设备事件日志分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DeviceEventsLogPageReqVO extends PageParam {

    @Schema(description = "设备名称", example = "王五")
    private String deviceName;

    @Schema(description = "设备事件类别")
    private String action;

    @Schema(description = "设备事件详细描述")
    private String description;

    @Schema(description = "设备事件时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] time;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "设备上报的数据")
    private String deviceData;

    private String  timeStart;

    private String  timeEnd;
}
